//引入react   路由组件
import {NavLink,Outlet} from "react-router-dom "
const Hooks_DOM =()=>{
   return(
       <>
            <h1>hooks的练习</h1>
            {/* nav标签定义导航链接的部分是HTML5的新标签 */}
            <nav className="nav">
                <NavLink to="">userState</NavLink>
            </nav>
       </>
   )
}